import 'package:redux/redux.dart';
import 'package:stock_check/common/model/app.dart';

final updateAppReducer = combineReducers<App>([
  TypedReducer<App,UpdateAppAction>(_updateAppInfo)
]);

App _updateAppInfo(App appInfo, action) {
  appInfo = action.appInfo;
  return appInfo;
}

class UpdateAppAction {
  final App appInfo;
  UpdateAppAction(this.appInfo);
}